<extend name="layouts/master" />
<block name="js">
  <script src="__PUBLIC__/admin/assets/js/view/w_article_function.js"></script>
</block>
<block name="main">
  <div class="am-u-sm-8 w_content">
    <header class="hero background-sky">
      <h1 class="hero-title "><label>woddp</label> 管理系统</h1><div class="clear">
    </div>
    
    </header>
    <div class="w_content_nav">
      <ol class="am-breadcrumb w-breadcrumb">
        <li><a href="#" class="am-icon-home">首页</a></li>
        <li><a href="#">分类</a></li>
        <li class="am-active">内容</li>
      </ol>
    </div>
    <div class="w_content_tab w_category_list" >
      <div class="w_nav">
      <a href="{:U('article/add')}" class="am-btn am-btn-primary am-round"  style="float:right">添加</a>
       <div style="width:10px"></div>
      </div>

      <div style="clear:both"></div>
      <div style="height:20px"></div>
      <div>
        <ul class="w_article_list">
          <volist name="articles" id="list">
            <li style="float:left">
              <div class="am-panel am-panel-default">
                <div class="am-panel-hd">
                  <h3 class="am-panel-title" data="{$list.create_time}">{$list.title}</h3>
                </div>
                <div class="am-panel-bd " >
                  {$list.intro}
                </div>
                <div class="am-panel-footer">
                  <div class="am-btn-group am-btn-group-justify option">
                  <a class="am-btn am-btn-primary am-radius delete" val="{$list.id}" href="javascript:;" url="{:U('article/del')}" role="button">删除</a>
                  <a class="am-btn am-btn-primary am-radius"  href="{:U('article/edit',['id'=>$list['id']])}"  role="button">修改</a>
                  <a class="am-btn am-btn-primary am-radius"  id="open_close" role="button">启用</a>
                </div></div>
              </div>
            </li>
          </volist>
       </ul>

      </div>

    </div>
  </div>

</block>